package Level_six;

public class Girl extends Person{
    private String boyFriend;
    @Override
    void doing() {
        System.out.println(super.getName()+"微笑着用于"+super.getSound()+"的声音对"+getBoyFriend()+"说:"+super.getWords());
    }
    void wash(Clothes clothes){
        System.out.println(super.getName()+"在洗一件"+clothes.getColor()+"的"+clothes.getBrand()+"牌子的衣服");
    }


    public Girl(int age, double height, String sound, String words, String name, String boyFriend) {
        super(age, height, sound, words, name);
        this.boyFriend = boyFriend;
    }
    public Girl() {

    }

    public String getBoyFriend() {
        return boyFriend;
    }

    public void setBoyFriend(String boyFriend) {
        this.boyFriend = boyFriend;
    }
}
